package cn.lizemin.service;

import cn.lizemin.entity.User;

/**
 * @author lzm
 * @Date 2024/7/14
 * @description
 */
public class UserController implements UserApi {

    @Override
    public User getUserById(Integer id) {
        if (id > 10) {
            User user = new User();
            user.setId(id);
            user.setName("李泽民");
            user.setAge(28);
            return user;
        }
        return null;
    }



}
